package com.itheima.reggie.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.config.common.R;
import com.itheima.reggie.entity.dto.EmployeeDto;
import com.itheima.reggie.entity.Employee;

/**
 * @Name EmployeeService
 * @Author BaiXin
 * @Date 2022-10-28 15:08
 */
public interface EmployeeService extends IService<Employee> {
    /**
     * 登录
     * @param employeeDto
     * @return
     */
    public R login(EmployeeDto employeeDto);

    /**
     * 根据用户名查询
     * @param employeeDto
     * @return
     */
    Employee selectByUsername(EmployeeDto employeeDto);
}
